<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:mvc="http://www.springframework.org/schema/mvc"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="
        http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans.xsd
        http://www.springframework.org/schema/mvc
        http://www.springframework.org/schema/mvc/spring-mvc.xsd
        http://www.springframework.org/schema/context
        http://www.springframework.org/schema/context/spring-context.xsd">

  <!-- schema directory resolver for gt-mongodb -->        
  <bean id="geoserverWorkspaceDirectory" class="org.geoserver.data.GeoserverSchemaDirecotry">
  	<constructor-arg ref="dataDirectoryResourceStore"/>
  </bean>  
  
  <bean id="MongoDBExtension"
		class="org.geoserver.platform.ModuleStatusImpl">
		<property name="module" value="gs-mongodb" />
		<property name="name" value="MongoDB Extension" />
		<property name="component" value="MongoDB plugin" />
		<property name="available" value="true" />
		<property name="enabled" value="true" />
	</bean>
	
</beans>
